import request from '@/utils/request'

// 获取图表
export function getChartData(data) {
  return request({
    url: '/agri/BigCanola/getChartData',
    method: 'get',
    params: data
  })
}

// 获取图表（分组）
export function getGroupChartData(data) {
  return request({
    url: '/agri/BigCanola/getGroupChartData',
    method: 'get',
    params: data
  })
}

// 获取列表
export function getList(data) {
  return request({
    url: '/agri/BigCanola/getList',
    method: 'get',
    params: data
  })
}
